package com.triones.yjj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 客户分享表
 *
 * @Author: triones
 */
@TableName(value = "tr_staff_team")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class StaffTeamDO extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 活动Id
     */
    @NotNull(message = "活动不能为空")
    private Long activityId;
    /**
     * 战队名称
     */
    @NotBlank(message = "战队名称不能为空")
    private String teamName;
    /**
     * 系统用户
     */
    private Long userId;
    /**
     * 是否删除 0：未删、1：删除
     */
    private Integer deleted;
}
